package com.yunji.storage.service;

import com.yunji.storage.bo.StorageRecordsListQueryBO;
import com.yunji.storage.domain.StorageRecordsDO;

import java.util.List;

/**
 * @Project: yunji-coffee
 * @Package: com.yunji.storage.service
 * @Title: IStorageRecordsService
 * <p>
 * History:
 * Date                     Version     Author          Summary
 * ============================================================
 * 2024-08-17 10:45:35      V1.0        HuaAo       新建类
 */

public interface IStorageRecordsService {

    List<StorageRecordsDO> search(StorageRecordsListQueryBO bo);

    boolean create(StorageRecordsDO storageRecords);

    boolean update(StorageRecordsDO storageRecords);

    boolean deleteByTicketIds(Long... ticketIds);

    void saveBatch(List<StorageRecordsDO> recordsList);
}